/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.List;
import java.util.Set;

/**
 * <p>Project: mybatis2022 - User
 * <p>Powered by webrx On 2022-04-14 16:29:14
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Alias("user")
public class User {
    private String username;
    private String password;
    /* 1 对 1 */
    private UserInfo userinfo;
    
    /* 1 对 多Set<UserAddress> List<UserAddress> */
    private Set<UserAddress> uaddres;
}
